<?php
	/**
	 *	KLF Framework
	 *
	 *	Written by Kristian Oye <kristianoye@gmail.com> on Oct 23, 2011
	 *	Copyright (C) 2010-2011
	 */
namespace KLF\System\Errors
{
	/**
	 *  Class KNotImplementedException
	 *
	 *  Gets thrown when there is no implementation defined for a method.
	 *
	 *  @package KLF\System\Errors
	 *  @access public
	 *  @author Kristian Oye <kristianoye@gmail.com>
	 *  @since 0.1
	 */
	use KLF\KCore;

	class KNotImplementedException extends KException
	{
		public function __construct($method, $object)
		{
			parent::__construct(KCore::FS("Method {method} in {class} has not been implemented",
				array('method' => $method, 
					'class' => is_object($object) ? 
						get_class($object) : $object)));
		}
	}	
}
